package com.example.flower_shop.vo.order;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "后台订单分页查询返回对象")
public class AdmOrderPageResp {
    @Schema(description = "订单id")
    private Long id;
    @Schema(description = "订单编号")
    private String orderNo;
    @Schema(description = "订单状态")
    private Integer status;
    @Schema(description = "是否支付")
    private Integer paid;
    @Schema(description = "退款状态")
    private Integer refundStatus;
    @Schema(description = "支付金额")
    private BigDecimal payPrice;
    @Schema(description = "订单总价")
    private BigDecimal totalPrice;
    @Schema(description = "支付方式")
    private String payType;
    @Schema(description = "支付时间")
    private String payTime;
    @Schema(description = "商品总数")
    private Integer totalNum;
    @Schema(description = "创建时间")
    private String createTime;
    @Schema(description = "下单用户id")
    private Long uid;
    @Schema(description = "下单用户名")
    private String username;
    @Schema(description = "收货人姓名")
    private String realName;
    @Schema(description = "收货人电话")
    private String userPhone;
    @Schema(description = "收货地址")
    private String userAddress;
}
